home *** CD-ROM | disk | FTP | other *** search
- REM $INCLUDE: 'fastgraf.bi'
-
- DEFINT A-Z
-
- CONST Pages = 4
-
- SetMemStatus& = SETMEM(-(Pages - 1) * (4096 + 16))
-
- IF FGtestmode(7, Pages) = 0 THEN
- PRINT "This program requires monochrome."
- STOP
- END IF
-
- OldMode = FGgetmode
- FGsetmode 7
- FGcursor 0
-
- FOR Page = 0 TO Pages - 1
- Status = FGallocate(Page)
- FGsetpage Page
- FGsetcolor 7
- FGrect 0, FGgetmaxx, 0, FGgetmaxy
- FGsetattr 0, 7, 0
- FGlocate 12, 37
- CharString$ = "Page" + STR$(Page)
- FGtext CharString$, 6
- NEXT
-
- FOR Page = 0 TO Pages - 1
- FGsetvpage Page
- FGwaitkey
- Status = FGfreepage(Page)
- NEXT
-
- FGsetmode OldMode
- FGreset
-
- END
-